package com.joinway.framework.workflow.service;

import com.joinway.framework.core.plugin.Plugin;
import com.joinway.framework.workflow.mobile.bean.AuthCodeView;
import com.joinway.framework.workflow.mobile.bean.VersionView;

public interface IMobileService extends Plugin {

	/**
	 * 
	 * @param platform	手机平台 {@link com.joinway.framework.workflow.mobile.constant.MobileWorkflowConstants.Platform}
	 * @return
	 * @throws Exception
	 */
	VersionView getVersion(String platform) throws Exception;
	
	/**
	 * 
	 * @param phone	手机号
	 * @return
	 * @throws Exception
	 */
	AuthCodeView sendAuthCode(String phone) throws Exception;
}
